//
//  SPJKCell.m
//  Tunnel
//
//  Created by wbb on 2025/6/23.
//

#import "SPJKCell.h"

@implementation SPJKCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)cellWithData:(id)data {
    NSDictionary *dic = [NSDictionary nullDic:data];
    self.titleLab.text = [NSString stringWithFormat:@"摄像机 ・%@", dic[@"pileNo"]?:@""];
    self.detailLab.text = [NSString stringWithFormat:@"%@ ・%@", dic[@"direction"]?:@"", dic[@"cameraId"]?:@""] ;
    
    self.selectBtn.selected = [dic[@"isSelect"] boolValue];
}

- (IBAction)selectAction:(UIButton *)sender {
}
@end
